<?php return [
    'plugin' => [
        'name' => 'Alex Omnipay',
        'description' => 'This plugin brings Omnipay to October CMS',
    ],
    'settings' => [
        'label' => 'Alex Omnipay configuration',
        'description' => 'Column mapping for your payment table',
        'map_id' => 'column name for id',
        'map_paymentid' => 'column name for paymentid',
        'map_description' => 'column name for description',
        'map_currency' => 'column name for currency',
        'map_amount' => 'column name for amount',
        'map_paid' => 'column name for paid',
        'mapping' => 'column mapping',
    ],
    'permissions' => [
        'label' => 'Manage Omnipay settings',
    ],
    'components' => [
        'pay' => [
           'name' => 'Pay',
           'description' => 'Create a payment with Omnipay',
           'table' => [
                'title' => 'Table',
                'description' => 'Name of the database table that has the information about the order',
                'validation' => 'The Table property can only contain a valid database table name (e.g. briddle_book_payment)',
            ],
            'PSP' => [
                'title' => 'Payment Service Provider',
                'description' => 'The Payment Service Provider you want to use', 
            ],
            'ApiKey' => [
                'title' => 'API-key',
                'description' => 'The API-key for the Payment Service Provider you want to use',  
            ],
            'Username' => [
                'title' => 'Username',
                'description' => 'The username for the Payment Service Provider you want to use',
            ],
            'Password' => [
                'title' => 'Password',
                'description' => 'The password for the Payment Service Provider you want to use', 
            ],
            'Signature' => [
                'title' => 'Signature',
                'description' => 'The signature for the Payment Service Provider you want to use',  
            ],
            'TestMode' => [
                'title' => 'Test-mode',
                'description' => 'Do you want to use test-mode?',
            ],
            'returnUrl' => [
                'title' => 'Return URL',
                'description' => 'The URL you want to use to mark an order as paid (no trailing slash)',
            ],
            'cancelUrl' => [
                'title' => 'Cancel URL',
                'description' => 'The URL you want to use if a payment is cancelled (no trailing slash)',
            ],
            'notifyUrl' => [
                'title' => 'Notify URL',
                'description' => 'The URL you want to use to mark an order as paid (no trailing slash)',
            ],
        ],
        'paid' => [
            'name' => 'Paid',
            'description' => 'Mark a payment with Omnipay as paid',
            'table' => [
                'title' => 'Table',
                'description' => 'Name of the database table that has the information about the order',
                'validation' => 'The Table property can only contain a valid database table name (e.g. briddle_book_payment)',
            ],
            'PSP' => [
                'title' => 'Payment Service Provider',
                'description' => 'The Payment Service Provider you want to use', 
            ],
            'ApiKey' => [
                'title' => 'API-key',
                'description' => 'The API-key for the Payment Service Provider you want to use',  
            ],
            'Username' => [
                'title' => 'Username',
                'description' => 'The username for the Payment Service Provider you want to use',
            ],
            'Password' => [
                'title' => 'Password',
                'description' => 'The password for the Payment Service Provider you want to use', 
            ],
            'Signature' => [
                'title' => 'Signature',
                'description' => 'The signature for the Payment Service Provider you want to use',  
            ],
            'TestMode' => [
                'title' => 'Test-mode',
                'description' => 'Do you want to use test-mode?',
            ],
        ],
    ]
];